package cn.valo.user.service;

import cn.valo.basic.dto.RegisterDto;
import cn.valo.user.domain.User;
import cn.valo.basic.service.BaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author valo
 * @since 2022-06-16
 */
public interface IUserService extends BaseService<User> {
    User queryByPhone(String phone);
    /**
     * 手机号注册
     * @param dto
     */
    void phoneRegister(RegisterDto dto);
    void update(User user);
}
